package android.com;

import android.app.Activity;
import android.os.Bundle;
import android.view.*;
import android.widget.Button;
import android.widget.Toast;

public class PruebasActivity extends Activity {
	
	private Button boton;
	
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        boton = (Button) findViewById(R.id.button1);    
        boton.setOnClickListener(new OnClickListener){
        	public void onClick(View v){
        		Toast.makeText(this, "presionado", Toast.LENGTH_LONG).show();
        	
        
        		
        	}
        })
    }    
    
    private void boton (){
    	
    	
    	
    	
    }
    
}